package com.hebrf.sdk.dialog;

import android.app.Activity;

/**
 * Created by lyb on 2017/6/14.
 * Email: 1373519715@qq.com
 * Blog: https://littleiii.github.io
 */

public class DialogFactory {

    public static WarnDialog getWarnDialog(Activity activity){

        return new WarnDialog(activity);
    }

    public static YnDialog getYnDialog(Activity activity, YnDialog.CallBack callBack){

        return new YnDialog(activity,callBack);
    }

    public static QrcodeDialog getQrcodeDialog(Activity activity){

        return new QrcodeDialog(activity);
    }
}
